package com.example.yiqiuser.service;


import com.example.yiqiuser.entity.NeChannel;
import com.example.yiqiuser.util.Page;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @author: Jyc
 * @date: 2023/4/1
 * @interfacename: NeChannelService
 * @time: 9:49
 * @description:
 */
public interface NeChannelService {
    /**
     * 分页带参查询
     * @param page
     * @return
     */
    PageInfo queryByParams(Page<NeChannel> page);

    /**
     * 根据Id查
     * @param id
     * @return
     */
    NeChannel queryById(int id);

    /**
     * 增
     * @param neChannel
     * @return
     */
    int adds(NeChannel neChannel);

    /**
     * 删
     * @param id
     * @return
     */
    int delete(int id);

    /**
     * 改
     * @param neChannel
     * @return
     */
    int update(NeChannel neChannel);
}
